<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户注册</title>
<link href="css/twoColFixLtHdr.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="createxmlhttp.js"></script>
<script language="javascript" src="check.js"></script>
</head>

<body class="twoColFixLtHdr">
<div id="logo"></div>
<div id="navi"><table border="0" cellpadding="0" cellspacing="0"><tr>
<td><label><a href="home.html">首页<br />Home</a></label></td>
<td><label><a href="share.html">资源共享<br />Share</a></label></td>
<td><label><a href="album.html">相册<br />Album</a></label></td>
<td><label><a href="msgboard.html">留言板<br />Msgboard</a></label></td>
<td><label><a href="table.html">表格下载<br />Table</a></label></td>
</tr></table>
</div>
<div id="register">
<div id="container">
<br /><h1>IBM俱乐部会员注册</h1>
<hr size="5" color="#9D9D9D" />
<hr size="5" color="#9D9D9D" />
</div>
<form action="register.php" method="post" name="register" onSubmit="lastchk(register)">
  <table border="0" cellpadding="0" cellspacing="20">
    <tr>
      <th width="203"></th>
      <td width="210" style="font-size:x-large;">---请填写基本信息---</td>
    </tr>
    <tr>
      <th>用户名：</th>
      <td><input type="text" name="uname" size="30" id="name" onBlur="javascript:chkuname(register)"/>
      <!--隐藏域，默认不允许注册-->
      <input id="name2" name="name2" type="hidden" value="not" /><font color="#FF0000">*</font></td>
      <td width="207"><div id="name1"><font color="#CCCC33"><b>（请输入用户名）</b></font></div></td>
    </tr>
    <tr>
      <th>密码：</th>
      <td><input type="password" name="upwd" size="30" onBlur="javascript:chkpwd(register)"/>
      <font color="#FF0000">*</font></td>
      <td width="207"><div id="pwd1"></div></td>
    </tr>
    <tr>
      <th>重复密码：</th>
      <td><input type="password" name="urepwd" size="30" onblur="javascript:chkpwdagain(register)"/>
      <font color="#FF0000">*</font></td>
      <td width="207"><div id="pwd2"></div></td>
    </tr>
    <tr>
      <th>Email：</th>
      <td><input type="text" name="uemail" size="30" onblur="javascript:chkemail(register)"/>
      <font color="#FF0000">*</font></td>
      <td width="207"><div id="mail"></div></td>
    </tr>
    <tr>
      <th>安全提问：</th>
      <td><p>
        <select name="usecq" >
          <option value="你的出生地点">你的出生地点</option>
          <option value="儿童时期的最好朋友" selected>儿童时期的最好朋友&nbsp;&nbsp;</option>
          <option value="第一个宠物的名字">第一个宠物的名字</option>
          <option value="最喜欢的老师">最喜欢的老师</option>
          <option value="最喜欢的历史人物">最喜欢的历史人物</option>
          <option value="你所在的学校">你所在的学校</option>
        </select>
        <font color="#FF0000">*</font></td>
    </tr>
    <tr>
      <th>安全提问答案：</th>
      <td><input type="text" name="useca" size="30" onblur="javascript:chkseca(register)"/>
      <font color="#FF0000">*</font></td>
      <td width="207"><div id="seca"></div></td>
    </tr>
    <tr>
      <th>真实姓名：</th>
      <td><input type="text" name="name" size="30" onblur="javascript:chkname(register)"/>
      <font color="#FF0000">*</font></td>
      <td width="207"><div id="rname"></div></td>
    </tr>
    <tr>
      <th>性别：</th>
      <td>&nbsp;&nbsp;&nbsp;
        <input type="radio" name="sex" value="男" checked/>
        男&nbsp;&nbsp;&nbsp;
        <input type="radio" name="sex" value="女"/>
        女</td>
    </tr>
    <tr>
      <th>出生日期：</th>
      <td><input type="text" name="ubirthday" size="30" />
        （示例：2010/01/01）</td>
    </tr>
    <tr>
      <th>手机：</th>
      <td><input type="text" name="phone" size="30" onblur="javascript:chkphone(register)"/>
      <font color="#FF0000">*</font></td>
      <td width="207"><div id="phone1"></div></td>
    </tr>
    <tr>
      <th>短号：</th>
      <td><input type="text" name="short" size="30"/></td>
    </tr>
    <tr>
      <th>QQ：</th>
      <td><input type="text" name="qq" size="30" onblur="javascript:chkqq(register)"/>
      <font color="#FF0000">*</font></td>
      <td width="207"><div id="qq"></div></td>
    </tr>
    <tr>
      <th>所在学院：</th>
      <td><input type="text" name="college" size="30" onblur="javascript:chkcollege(register)"/>
      <font color="#FF0000">*</font></td>
      <td width="207"><div id="coll"></div></td>
    </tr>
    <tr>
      <th>年级：</th>
      <td><input type="text" name="grade" size="30" onblur="javascript:chkgrade(register)"/>
      <font color="#FF0000">*</font></td>
      <td width="207"><div id="gra"></div></td>
    </tr>
    <tr>
      <th>宿舍地址：</th>
      <td><input type="text" name="dorm" size="30" /></td>
    </tr>
    <tr>
      <th>所在俱乐部部门：</th>
      <td><input type="text" name="dept" size="30" /></td>
    </tr>
    <tr>
      <th>&nbsp;</th>
      <td style="text-align:center;"><input name="submit" type="submit" value="提交" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input name="reset" type="button" value="取消" onclick="window.location.reload('home.html');"/></td>
      <td><div><font color="#CCCC33">(带*号的为必填项)</font></div></td>
      </tr>
  </table>
  <br />
</form>
</div>
<div id="footer">
<p>Copyright © 2010 IBM club,Shenzhen University, All Rights Reserved.</p></div>
</div>
</body>
</html>

